package net.monare.mifss.admin.ui.win;

import net.monare.mifss.MifssMessages;
import net.monare.mifss.admin.ui.wiz.BaseWizard;
import net.monare.mifss.admin.ui.wiz.cards.StorageCard;
import net.monare.mifss.admin.ui.wiz.cards.StorageFinalizeCard;
import net.monare.mifss.admin.ui.wiz.cards.StoragePoolCard;

import com.vaadin.ui.Component;

public class AddStorageWindow extends BaseWizard {

	private static final long serialVersionUID = -8535192327540926450L;
	
	private StoragePoolCard storagePoolCard;
	private StorageCard storageCard;
	private StorageFinalizeCard storageFinalizeCard;
	
	
	public AddStorageWindow() {
		
		super(MifssMessages.getMessage("title.add.storage.wizard"));
		
		storagePoolCard = new StoragePoolCard();
		storageCard = new StorageCard();
		storageFinalizeCard = new StorageFinalizeCard(storageCard, storagePoolCard);
		
		Component [] cards = {storagePoolCard, storageCard, storageFinalizeCard};
		setCards(cards);
		
				
	}


}
